package com.bidevalution.dao.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class BeExpertVoteExt {

    private String sectionId;

    private String sectionStepId;

    private String title;

    private String content;

    private String voteOptions;

    private Integer voteType;

    private Integer voteAlgorithm;

    private String nextJob;

    private String voteParams;

    private String originator;

    private String stepParams;

    private List<BeExpertVoteDetailExt> voteDetailList;

    public String getSectionId() {
        return sectionId;
    }

    public void setSectionId(String sectionId) {
        this.sectionId = sectionId;
    }

    public String getSectionStepId() {
        return sectionStepId;
    }

    public void setSectionStepId(String sectionStepId) {
        this.sectionStepId = sectionStepId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getVoteOptions() {
        return voteOptions;
    }

    public void setVoteOptions(String voteOptions) {
        this.voteOptions = voteOptions;
    }

    public void setVoteType(Integer voteType) {
        this.voteType = voteType;
    }

    public String getNextJob() {
        return nextJob;
    }

    public void setNextJob(String nextJob) {
        this.nextJob = nextJob;
    }

    public String getVoteParams() {
        return voteParams;
    }

    public void setVoteParams(String voteParams) {
        this.voteParams = voteParams;
    }

    public String getOriginator() {
        return originator;
    }

    public void setOriginator(String originator) {
        this.originator = originator;
    }

    public Integer getVoteType() {
        return voteType;
    }

    public Integer getVoteAlgorithm() {
        return voteAlgorithm;
    }

    public void setVoteAlgorithm(Integer voteAlgorithm) {
        this.voteAlgorithm = voteAlgorithm;
    }

    public List<BeExpertVoteDetailExt> getVoteDetailList() {
        return voteDetailList;
    }

    public void setVoteDetailList(List<BeExpertVoteDetailExt> voteDetailList) {
        this.voteDetailList = voteDetailList;
    }

    public BeExpertVote getNewBeExpertVote() {
        BeExpertVote expertVote = new BeExpertVote();
        expertVote.setOriginator(originator);
        expertVote.setVoteOptions(voteOptions);
        expertVote.setVoteType(voteType);
        expertVote.setVoteAlgorithm(voteAlgorithm);
        expertVote.setContent(content);
        expertVote.setTitle(title);
        expertVote.setSectionId(sectionId);
        expertVote.setNextJob(nextJob);
        expertVote.setSectionStepId(sectionStepId);
        expertVote.setVoteParams(voteParams);
        expertVote.setStepParams(stepParams);
        expertVote.setCreateTime(new Date());
        return expertVote;
    }
}